package com.mdlib.helper.module.run.order.activitys;

import android.content.Context;
import android.content.Intent;

import com.ljlib.core.base.BaseCommonActivity;
import com.ljlib.core.base.BaseFragment;
import com.mdlib.helper.ui.UIHelper;
import com.mdlib.helper.ui.fragments.rush.order.RushOrderDetailsFragment;

/**
 * 作者：HQY on 16/12/16 11:46
 * 邮箱：hqy_xz@126.com
 */

public class RushOrderDetailsActivity extends BaseCommonActivity {

    public static Intent newIntent(Context context, String busId) {
        Intent intent = new Intent(context, RushOrderDetailsActivity.class);
        intent.putExtra(UIHelper.BUS_ID, busId);
        return intent;
    }


    @Override
    protected BaseFragment getFirstFragment() {
        return RushOrderDetailsFragment.newInstanct(getIntent().getExtras().getString(UIHelper.BUS_ID));
    }
}
